package questions;

public class Test {
    public static void main(String[] args) {
        reverseList rel = new reverseList();


        rel.creatList();
        rel.diaplay();

        System.out.println("==============");
        rel.reverseList();
        rel.diaplay();

        System.out.println("=========");
        System.out.println(rel.middleNode1().val);

        System.out.println(rel.middleNode2().val);

        System.out.println(rel.kthToLast(2));
    }
}
